package com.tonicgb.api.front.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author zhaiyujin
 * @date 2021-10-04 23:11:45
 * @说明 微信授权bind手机号
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "微信授权绑定",description = "微信授权绑定手机号")
public class WechatBindPhoneRequest implements Serializable {
    public static final long serialVersionUID=1L;

    @ApiModelProperty(value = "sessionKey", required = true)
    @NotBlank(message = "sessionKey不能为空")
    String sessionKey;
    @ApiModelProperty(value = "openId", required = true)
    @NotBlank(message = "openId不能为空")
    String openId;
    @ApiModelProperty(value = "encryptedData", required = true)
    @NotBlank(message = "encryptedData不能为空")
    String encryptedData;
    @ApiModelProperty(value = "iv", required = true)
    @NotBlank(message = "iv不能为空")
    String iv;



}
